public class Bullet extends FlyingObject{
    private int ySpeed;

    public Bullet(int x,int y){
//       image = ShootGame.bullet0;
        super(x,y,ShootGame.bullet0,1);
       width = image.getWidth(null);
       height = image.getHeight(null);
       ySpeed = 1;


    }


    public void move(){
        y -= ySpeed;
    }

    public int getySpeed() {
        return ySpeed;
    }

    public void setySpeed(int ySpeed) {
        this.ySpeed = ySpeed;
    }
}
